package com.nanjia.boot.stock.productbatch.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 产品批次主记录视图对象
 *
 * @author 周洋
 * @since 2025-08-21 16:30
 */
@Getter
@Setter
@Schema( description = "产品批次主记录视图对象")
public class ProductBatchVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private Long id;
    @Schema(description = "生产批号")
    private String batchNumber;
    private Long skuId;
    @Schema(description = "生产商")
    private Long manufacturerId;
    @Schema(description = "生产日期")
    private LocalDate productionDate;
    @Schema(description = "有效期至")
    private LocalDate expiryDate;
    @Schema(description = "灭菌批号")
    private String sterilizationBatch;
    @Schema(description = "UDI生产标识符")
    private String udiPi;
    @Schema(description = "生产数量")
    private Integer quantityProduced;
    private LocalDateTime createTime;

    private Long warehouseId;
    private Long warehouseStorageLocationId;
}
